@import 'reset.css';
@import 'text.css';

/* `Basic HTML
----------------------------------------------------------------------------------------------------*/

body {
  background: url('../images/body-bg.jpg');
  color: #444;
}

h2,
h3,
h4,
h5,
h6 {
  line-height: 1;
}

a {
  color: #06c;
  cursor: pointer;
}

a:hover {
  color: #c60;
}

ol li {
  list-style: none inside none;
  margin-left: 0px;
}

small {
  font-size: 11px;
}

input[type="text"], input[type="password"], select {
  padding: 5px;
  margin-bottom:10px;
  min-width: 200px;
}

input[type="text"], input[type="password"] {
  border: 1px solid   lightGrey;
  background-color: #E6E6E6;
  font-weight: normal;
  color: #555;
  -moz-border-radius: 4px;
   -webkit-border-radius: 4px;
   -khtml-border-radius: 4px;
    border-radius: 4px;
}

.label {
  padding: 5px;
}

/* `Misc Classes
----------------------------------------------------------------------------------------------------*/

.align_center {
  text-align: center;
}

.align_right {
  text-align: right;
}

/* `Data Table
----------------------------------------------------------------------------------------------------*/

.data,
.data th,
.data td {
  border-style: solid;
  border-color: #ddd;
}

.data {
  border-width: 0 1px 1px;
  width: 100%;
}

.data caption {
  padding: 0 10px 5px;
  text-transform: uppercase;
}

.data th,
.data td {
  border-top-width: 1px;
  padding: 5px 10px;
}

.data th {
  white-space: nowrap;
}

.data thead th {
  background: #eee;
  font-weight: bold;
  text-shadow: #fff 0 1px 0;
}

.data tbody th {
  width: 1px;
}

.data tr th:first-child {
  text-align: right;
}

/* Code
----------------------------------------------------------------------------------------------------*/

pre,
code {
  font-size: 12px;
  font-family: Menlo, Courier, monospace;
}

pre,
.notice {
  background: #ffe;
  border: 1px solid;
  border-color: #eed #ccb #bba #ddc;
  overflow: auto;
  padding: 10px 0 10px 10px;
}

* html pre {
  overflow: hidden;
  width: 97%;
}

code {
  background: #ff9;
  padding: 0 2px;
}

/* Tables
------------------------------*/

table {
    margin-top: 1em;
    /*font-size: .875em;*/
    margin-bottom: 1em;
}


th {
  /*background: #7f9db9;*/
  color: white;
  border-right: 0px;
  padding: 5px 11px 8px;
  text-align: center;
  line-height: 1.2;    
  -moz-box-shadow: 0px 0px 4px rgba(0,0,0,0.55);
  -khtml-box-shadow: 0px 0px 4px rgba(0,0,0,0.55);
  -webkit-box-shadow: 0px 0px 4px rgba(0,0,0,0.55);
  margin: 0 0 20px 0;
  z-index: 100; /* the stack order: foreground */
  background: #356aa0; /* Old browsers */
  background: -moz-linear-gradient(top,  #356aa0 0%, #4f769e 100%); /* FF3.6+ */
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#356aa0), color-stop(100%,#4f769e)); /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(top,  #356aa0 0%,#4f769e 100%); /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(top,  #356aa0 0%,#4f769e 100%); /* Opera 11.10+ */
  background: -ms-linear-gradient(top,  #356aa0 0%,#4f769e 100%); /* IE10+ */
  background: linear-gradient(top,  #356aa0 0%,#4f769e 100%); /* W3C */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#356aa0', endColorstr='#4f769e',GradientType=0 ); /* IE6-9 */
}

td {
    padding: 6px 11px;
    border-bottom: 1px solid #95bce2;
    font-size:1em;
    line-height:1.5em;
    vertical-align: middle;
}

td.centertext {
  text-align: center;
}

tr.alt td {
    background:    #ecf6fc;
}

tr.redstriped td {
  background: #FC7878;
}

tr.inactive {
  text-decoration: line-through;
  background-color: lightGrey;
}

.inactive {
  text-decoration: line-through;
}

/* Content
-----------------------------*/
#content{
  background: white;
  -moz-box-shadow: 0px 0px 8px rgba(0,0,0,0.3);
  -khtml-box-shadow: 0px 0px 8px rgba(0,0,0,0.3);
  -webkit-box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.3);
  margin-top:20px;
  margin-bottom:20px;
  padding: 0 20px 20px;
}

#content .help {
  background: #D6E6F3;
  padding:20px;
  border:2px solid #49607F;
}

#userfunctions {
  float: right;
}

#helpMessage {
  display:none;
}

#selection-list, #replacements-list {
  /*font-size:.7em;*/
}

#content h5 {
  padding-top: 10px;
  padding-bottom: 10px;
  border-top: 2px solid #CCC;
  border-bottom: 1px solid #ccc;
  margin-top: 20px;
}

h4.teamhead {
  border-width:0px;
  cursor: pointer;
  color: white;
  font-size: 1.2em;
  padding: 5px;
  background: #356aa0; /* Old browsers */
  background: -moz-linear-gradient(top,  #356aa0 0%, #4f769e 100%); /* FF3.6+ */
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#356aa0), color-stop(100%,#4f769e)); /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(top,  #356aa0 0%,#4f769e 100%); /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(top,  #356aa0 0%,#4f769e 100%); /* Opera 11.10+ */
  background: -ms-linear-gradient(top,  #356aa0 0%,#4f769e 100%); /* IE10+ */
  background: linear-gradient(top,  #356aa0 0%,#4f769e 100%); /* W3C */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#356aa0', endColorstr='#4f769e',GradientType=0 ); /* IE6-9 */
}

h4.teamhead:hover {
  text-decoration: underline;
}

.selection_add {
  cursor: pointer;
}

.riderinfo {
  margin-bottom:5px;
  border-bottom: 1px solid #ccc;
}

.rectangle {
  background: #7f9db9;
  height: 50px;
  -moz-box-shadow: 0px 0px 4px rgba(0,0,0,0.55);
  -khtml-box-shadow: 0px 0px 4px rgba(0,0,0,0.55);
  -webkit-box-shadow: 0px 0px 4px rgba(0,0,0,0.55);
  margin: 0 0 20px 0;
  z-index: 100; /* the stack order: foreground */
  background: #356aa0; /* Old browsers */
	background: -moz-linear-gradient(top,  #356aa0 0%, #4f769e 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#356aa0), color-stop(100%,#4f769e)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #356aa0 0%,#4f769e 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #356aa0 0%,#4f769e 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #356aa0 0%,#4f769e 100%); /* IE10+ */
	background: linear-gradient(top,  #356aa0 0%,#4f769e 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#356aa0', endColorstr='#4f769e',GradientType=0 ); /* IE6-9 */
}

.adminrectangle {
  background: #EF5449;
  height: 50px;
  -moz-box-shadow: 0px 0px 4px rgba(0,0,0,0.55);
  -khtml-box-shadow: 0px 0px 4px rgba(0,0,0,0.55);
  -webkit-box-shadow: 0px 0px 4px rgba(0,0,0,0.55);
  margin: 0 0 20px 0;
  z-index: 100; /* the stack order: foreground */
  background: #ff3019; /* Old browsers */
	background: -moz-linear-gradient(top,  #ff3019 0%, #cf0404 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ff3019), color-stop(100%,#cf0404)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #ff3019 0%,#cf0404 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #ff3019 0%,#cf0404 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #ff3019 0%,#cf0404 100%); /* IE10+ */
	background: linear-gradient(top,  #ff3019 0%,#cf0404 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ff3019', endColorstr='#cf0404',GradientType=0 ); /* IE6-9 */
}

.rectangle h2, .adminrectangle h2 {
  font-size: 30px;
  color: #fff;
  padding-top: 6px;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
  text-align: center;
}

.boldtext {
  font-weight:bold;
}

#content h6 {
  font-style: italic;
}

/*Messages
-----------*/
.infoMessage {
	border: 2px solid red;
	padding:  20px 20px 0 20px;
	margin: 10px;
	color: #444;
	background: #ff7777; /* Old browsers */
	background: -moz-linear-gradient(top,  #ff7777 0%, #fe9090 45%, #febbbb 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ff7777), color-stop(45%,#fe9090), color-stop(100%,#febbbb)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #ff7777 0%,#fe9090 45%,#febbbb 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #ff7777 0%,#fe9090 45%,#febbbb 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #ff7777 0%,#fe9090 45%,#febbbb 100%); /* IE10+ */
	background: linear-gradient(top,  #ff7777 0%,#fe9090 45%,#febbbb 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ff7777', endColorstr='#febbbb',GradientType=0 ); /* IE6-9 */
}



/* Standings
------------------------*/
.overallStanding {
  background-color: #FFFF8E;
  border: 1px solid yellow;
  padding: 10px;
  margin-bottom: 20px;
}

.pointsStanding {
  background-color: #8CDD77;
  border: 1px solid green;
  padding:10px;
  margin-bottom: 20px;
}

.mountainStanding {
  background-color: #EF6056;
  border: 1px solid red;
  padding:10px;
  margin-bottom: 20px;
}

.previousLink {
  float: left;
}

.nextLink {
  float: right;
}